package Test;

import Index.Index;
import org.junit.Test;
import repository.Repository;

import java.io.IOException;
import java.util.ArrayList;

public class RmTest {
    @Test
    public void rmTest() throws Exception {
        Repository repository = new Repository("D:\\hashcode");
        core.JitRm.remove_cached("D:\\hashcode\\3");
        Index index = new Index();
        ArrayList<String> arrayList = index.getBlobList();
        System.out.println("暂存区现有" + arrayList.size() + "个文件，分别为：");
        for(String tem: arrayList){
            System.out.println(tem);
        }

    }
}
